package com.dmw.service.impl;

import com.dmw.dao.DmSchedulerDao;
import com.dmw.service.DmSchedulerService;
import com.dmw.vo.chooseSeatVO.ChooseSeatOfCinemaIdVO;
import com.dmw.vo.chooseSeatVO.QuerySeatInfoOfScheduleIdVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class DmSchedulerServiceImpl implements DmSchedulerService {

    @Autowired
    private DmSchedulerDao mapper;

    @Override
    public List<String> queryOriginalCinemaSeatArray(Map<String, Object> map) throws Exception {
        return mapper.queryOriginalCinemaSeatArray(map);
    }

    @Override
    public List<QuerySeatInfoOfScheduleIdVO> queryCinemaSeatArrayByScheduleId(Map<String, Object> map) throws Exception {
        return mapper.queryCinemaSeatArrayByScheduleId(map);
    }
}
